<?php
namespace Terrafirma\Predicate;

class InstanceOfPredicate implements PredicateInterface
{
	protected $type;
	
	public function __construct($type)
	{
		$this->type = $type;
	}
	
	public function evaluate($input)
	{
		return ($input instanceof $this->type);
	}
}